package Model;

import DAO.InterfaceDAO.ExerciceDAO;
import Factories.FactoryDAO;

public class Correction {

	private int id;
	private ExerciceDAO edao;
	private String contenu;

	public Correction(String text) {
		super();
		this.contenu = text;
		this.edao = FactoryDAO.getInstance(null).createExerciceDAO();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContenu() {
		return contenu;
	}

	public void setContenu(String contenu) {
		this.contenu = contenu;
	}

}
